package com.copa.module.goods.domain.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author copa
 * @createDate 2021-01-08 13:49
 * @function
 */
@Data
public class GoodsDto {

    private Long id;

    @ApiModelProperty(value = "商品名称")
    private String name;

    @ApiModelProperty(value = "类目id")
    private Long categoryId;

    @ApiModelProperty(value = "类目名称")
    private String categoryName;

    @ApiModelProperty(value = "是否上架：0否1是")
    private Integer isOnSale;

    @ApiModelProperty(value = "排序")
    private Integer sortOrder;

    @ApiModelProperty(value = "商品主图")
    private String picUrl;

    @ApiModelProperty(value = "是否展示：0否1是")
    private Integer isShow;

    @ApiModelProperty(value = "是否热门商品：0否1是")
    private Integer isHot;

    @ApiModelProperty(value = "商品展示价格")
    private BigDecimal price;

    @ApiModelProperty(value = "商品详情")
    private String detail;
}
